package net.maku.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.math.BigDecimal;
import java.util.Date;

/**
* 用户折扣
*
* @author 小陈 www.hong.ch@qq.com
* @since 1.0.0 2025-03-26
*/
@Data
@Schema(description = "用户折扣")
public class SysUserDiscountVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	private Long userId;

	@Schema(description = "优惠系数")
	private BigDecimal prop;

	@Schema(description = "单号类型")
	private Long catalog;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "购买时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;

	@Schema(description = "删除")
	private Integer deleted;

	@Schema(description = "创建人")
	private Long creator;

	@Schema(description = "修改人")
	private Long updater;

	@Schema(description = "版本")
	private Integer version;


}